String Schema
CancellationPoliciesType Complex Type
Namespace http://string.drv.de/xmlschema/string
Diagram
Percentage Element Sequence Amount Element Nights Element Choice From Element LanguageCode Element Text Element Sequence Description Element Sequence Fees Element Sequence CancellationPoliciesType Complex Type
Overview
Free optional xs:boolean
True if cancelable for free
FreeTo optional xs:dateTime
End of "Free Cancellation" period
Full optional xs:boolean
True if noncancelable
FullFrom optional DateTimeType Simple Type
Start date-time of 100% penalty
Sequence
Sequence
Sequence
Text xs:string
Text in the given language
LanguageCode xs:language
ISO language code: either XX or XX_yy
From DateTimeType Simple Type
Start date/time of according fee
Choice
Nights xs:int
Fee in number of nights
Amount optional CurrencyAmountType Complex Type
Fee as absolute amount
Sequence
Percentage optional xs:decimal
Fee as percentage value
Used By
CancellationPolicies Element
Attributes
NameTypeUseDefaultFixedDescription
Freexs:booleanoptional  True if cancelable for free
FreeToxs:dateTimeoptional  End of "Free Cancellation" period
Fullxs:booleanoptional  True if noncancelable
FullFromDateTimeType Simple Typeoptional  Start date-time of 100% penalty
Source
<xs:complexType name="CancellationPoliciesType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element name="Fees" type="FeeType" minOccurs="0" maxOccurs="unbounded" />
  </xs:sequence>
  <xs:attribute name="Free" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>True if cancelable for free </xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="FreeTo" type="xs:dateTime">
    <xs:annotation>
      <xs:documentation>End of "Free Cancellation" period</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Full" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>True if noncancelable</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="FullFrom" type="DateTimeType">
    <xs:annotation>
      <xs:documentation>Start date-time of 100% penalty </xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>
See Also
String Schema

 

 


© 2017 All Rights Reserved.

Send comments on this topic.